# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=uhttpmock
pkgver=0.5.3
pkgrel=1
pkgdesc="HTTP web service mocking project for projects which use libsoup"
url="https://gitlab.com/uhttpmock/uhttpmock"
depends=('glib2' 'libsoup')
license=('LGPL2.1')
arch=(x86_64)
source=(https://tecnocode.co.uk/downloads/uhttpmock/$pkgname-$pkgver.tar.xz)
sha256sums=('90843223c3a30bdb7f1eb3442373a03fee425af85a9df289cd687698ccff112f')

build() {
  cd $pkgname-$pkgver
  ./configure --prefix=/usr
  make
}

package() {
  cd $pkgname-$pkgver
  make install DESTDIR="$pkgdir"
}
